Skip to content

refactor: read x-cli-entity-* extensions from OpenApi spec#79

Draft
nats wants to merge 1 commit intobinarylane:mainfrom
nats:feat/spec-entity-lookup
Draft

refactor: read x-cli-entity-* extensions from OpenApi spec#79
nats wants to merge 1 commit intobinarylane:mainfrom
nats:feat/spec-entity-lookup

Conversation

@nats
Copy link
Copy Markdown
Contributor

@nats nats commented Feb 27, 2026

Draft: production spec does not include x-cli-entity-* yet.

Replace hardcoded lookup_map/entity_map in templates/lookups.jinja with
spec-driven logic that reads x-cli-entity-lookup (on parameters),
x-cli-entity-list (on response schemas), and x-cli-entity-ref (on entity
schemas) directly from the OpenAPI specification.

@nats nats marked this pull request as draft February 27, 2026 03:18
@nats nats force-pushed the feat/spec-entity-lookup branch from 44f75ab to 3652cba Compare February 27, 2026 05:22
Replace hardcoded lookup_map/entity_map in templates/lookups.jinja with
spec-driven logic that reads x-cli-entity-lookup (on parameters),
x-cli-entity-list (on response schemas), and x-cli-entity-ref (on entity
schemas) directly from the OpenAPI specification.
@nats nats force-pushed the feat/spec-entity-lookup branch from 3652cba to b5363d8 Compare February 27, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant